package com.hzncc.scaffold.entity.Other;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 问题表
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 选项
     */
    @TableField("`option`")
    private String option;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 答案
     */
    private String answer;

    /**
     * 分析
     */
    private String analyse;

    /**
     * 题库编号
     */
    @TableField("libId")
    private Integer libId;


}
